import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../pages/home/home.vue'
import Create from '../pages/create/create.vue'

const routes = [
    {
        path: "/",
        component: Home
    },
    {
        path: "/create/:id",
        component:Create
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router